public class date {
	int year;
	int month;
	int day;
	public date(int year,int month,int day){
		this.year = year;
		this.month = month;
		this.day = day;	
	}
	public int getDay() {
		return day;  
		}
	public void setDay(int day) {
		this.day = day;  
		}
	public int getMonth() {
		return month;  
		}
	public void setMonth(int month) {
		this.month = month;  
		}
	public int getYear() { 
		return year;  
		}
	public void setYear(int year) {
		this.year = year;   
		}
	public String toString(){
		return year+"-"+ month+"-"+day;
	}
}
